package com.gitee.business.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author Yanghu
 * @since 2017-12-20
 */
@TableName("ACCOUNT_INFO")
public class AccountInfo extends Model<AccountInfo> {

    private static final long serialVersionUID = 1L;

    @TableId("ACCOUNT_ID")
	private String accountId;
	@TableField("U_ID")
	private String uId;
	@TableField("PID")
	private String pid;
	@TableField("TYPE")
	private String type;
	@TableField("STATE")
	private String state;
	@TableField("BALANCE")
	private String balance;
	@TableField("FREEZE_AMOUNT")
	private String freezeAmount;
	@TableField("PLATFORM_ID")
	private String platformId;
	@TableField("PLATFORM_UID")
	private String platformUid;
	@TableField("CREATE_TIME")
	private Date createTime;
	@TableField("BUSINESS_TYPE")
	private String businessType;
	@TableField("BANK")
	private String bank;
	@TableField("OPEN_TYPE")
	private String openType;
	@TableField("OPERATE_TYPE")
	private String operateType;


	public String getAccountId() {
		return accountId;
	}

	public void setAccountId(String accountId) {
		this.accountId = accountId;
	}

	public String getuId() {
		return uId;
	}

	public void setuId(String uId) {
		this.uId = uId;
	}

	public String getPid() {
		return pid;
	}

	public void setPid(String pid) {
		this.pid = pid;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public String getBalance() {
		return balance;
	}

	public void setBalance(String balance) {
		this.balance = balance;
	}

	public String getFreezeAmount() {
		return freezeAmount;
	}

	public void setFreezeAmount(String freezeAmount) {
		this.freezeAmount = freezeAmount;
	}

	public String getPlatformId() {
		return platformId;
	}

	public void setPlatformId(String platformId) {
		this.platformId = platformId;
	}

	public String getPlatformUid() {
		return platformUid;
	}

	public void setPlatformUid(String platformUid) {
		this.platformUid = platformUid;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getBusinessType() {
		return businessType;
	}

	public void setBusinessType(String businessType) {
		this.businessType = businessType;
	}

	public String getBank() {
		return bank;
	}

	public void setBank(String bank) {
		this.bank = bank;
	}

	public String getOpenType() {
		return openType;
	}

	public void setOpenType(String openType) {
		this.openType = openType;
	}

	public String getOperateType() {
		return operateType;
	}

	public void setOperateType(String operateType) {
		this.operateType = operateType;
	}

	@Override
	protected Serializable pkVal() {
		return this.accountId;
	}

	@Override
	public String toString() {
		return "AccountInfo{" +
			"accountId=" + accountId +
			", uId=" + uId +
			", pid=" + pid +
			", type=" + type +
			", state=" + state +
			", balance=" + balance +
			", freezeAmount=" + freezeAmount +
			", platformId=" + platformId +
			", platformUid=" + platformUid +
			", createTime=" + createTime +
			", businessType=" + businessType +
			", bank=" + bank +
			", openType=" + openType +
			", operateType=" + operateType +
			"}";
	}
}
